//
//  UICityPicker.h
//  DDMates
//
//  Created by ShawnMa on 12/16/11.
//  Copyright (c) 2011 TelenavSoftware, Inc. All rights reserved.
//


#import <QuartzCore/QuartzCore.h>
#import "DataModel.h"
#import "TSLocateView.h"

@protocol pickerDidSelectDelete;
@interface TSLocateView : UIActionSheet<UIPickerViewDelegate, UIPickerViewDataSource> {
@private
    NSArray *provinces;
    NSArray	*cities;
    NSArray	*citiesl2;
}

@property (strong, nonatomic) IBOutlet UILabel *titleLabel;
@property (strong, nonatomic) IBOutlet UIPickerView *locatePicker;
@property (strong, nonatomic) Citys *locate;
@property (weak,nonatomic) id <pickerDidSelectDelete> pickerDelegate;
- (id)initWithTitle:(NSString *)title delegate:(id /*<UIActionSheetDelegate>*/)delegate;
- (void)cancelView;
- (void)showInView:(UIView *)view;


@end
@protocol pickerDidSelectDelete<NSObject>
-(void)didSelectPicker:(TSLocateView*)selectView;
-(void)didCancelPicker;
@end